package com.teacher.pojo.dto.absentactivities;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class AbsentActivitiesAddDto {
    @ApiModelProperty(value = "学号")
    @NotBlank(message = "学号不能为空")
    private String studentKey;

    private Long termId;

    @ApiModelProperty(value = "活动名称")
    @NotBlank(message = "活动名称不能为空")
    private String title;

    @ApiModelProperty(value = "备注")
    private String remark;

    @NotNull(message = "活动时间不能为空")
    private Date doTime;
}
